package org.base.dao.modules.sys.model;

import java.util.List;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@TableName("sys_menu")
public class SysMenuDO {
	
	@TableId("id")
	private Long id;
	
	@TableField("parent_id")
	private Long parentId;
	
	@TableField("menu_name")
	private String menuName;
	
	@TableField("url")
	private String url;
	
	@TableField("icon")
	private String icon;
	
	@TableField("perms")
	private String perms;
	
	@TableField("visible")
	private Integer visible;
	
	@TableField("menu_type")
	private Integer menuType;
	
	@TableField("order_num")
	private int orderNum;
	
	@TableField(exist=false)
	private List<SysMenuDO> children;
	
}
